package com.yuzhyn.hiops.common.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("sys_machine_status_log")
public class SysMachineStatusLog {

    @ExcelProperty("主键")
    private String id;

    @ExcelProperty("机器ID")
    private String machineId;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("CPU占用")
    private Integer cpu;

    @ExcelProperty("内存占用")
    private Long ram;

    @ExcelProperty("磁盘占用")
    private Long disk;

    @ExcelProperty("程序CPU占用")
    private Integer appCpu;

    @ExcelProperty("程序内存占用")
    private Long appRam;

    @ExcelIgnore
    private String ssLong;
}
